﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace ScrumBoard
{
  public class MainVM : ViewModelBase
  {
    public ObservableCollection<SprintVM> Sprints { get; set; }

    public SprintVM CurrentSprint { get; set; }

    public string ProjectName
    {
      get { return _ProjectName; }
      set
      {
        if (_ProjectName != value)
        {
          _ProjectName = value;
          RaisePropertyChanged("ProjectName");
        }
      }
    }
    private string _ProjectName;

    public string CurrentUser
    {
      get { return _CurrentUser; }
      set
      {
        if (_CurrentUser != value)
        {
          _CurrentUser = value;
          RaisePropertyChanged("CurrentUser");
        }
      }
    }
    private string _CurrentUser = "User";


    
    

    public MainVM()
    {
      Sprints = new ObservableCollection<SprintVM>();
    }
  }
}
